# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mycroft-skill-joke
pkgver=20.02_git20200409
pkgrel=0
_commit="c796553722f8b76239900e482e4a2aa378d8660c"
pkgdesc="Mycroft AI official Joke Skill - provide basic jokes"
url="https://mycroft.ai/skills"
arch="noarch"
license="Apache-2.0"
depends="python3 py3-pyjokes"
source="https://github.com/mycroftai/skill-joke/archive/$_commit/skills-joke-$_commit.tar.gz"
options="!check" # No tests
builddir="$srcdir/skill-joke-$_commit"

package() {
	mkdir -p "$pkgdir"/usr/share/mycroft/skills/mycroft-joke.mycroftai
	cp -r ./* "$pkgdir"/usr/share/mycroft/skills/mycroft-joke.mycroftai/
}

sha512sums="19fe2bd56bb84fd5c3cbaf0433a0228a3e6c745c544ad518279080fdf5782902a64de00a856b6f92de9e4f7ca11eea515e42b4e94fd45dee6dd88138ab810dc2  skills-joke-c796553722f8b76239900e482e4a2aa378d8660c.tar.gz"
